﻿CREATE TABLE [dbo].[TipRetinere] (
    [Nume]           VARCHAR (25)  NULL,
    [Descriere]      VARCHAR (100) NULL,
    [Categorie]      CHAR (1)      NULL,
    [Tip]            CHAR (1)      NULL,
    [Ordonare]       INT           NULL,
    [IDTipRetinere]  INT           IDENTITY (1, 1) NOT NULL,
    [IDCreditor]     SMALLINT      NULL,
    [Urmarire]       BIT           NULL,
    [Decontare]      BIT           NULL,
    [ValoriNegative] BIT           CONSTRAINT [DF_TipRetinere_ValoriNegative] DEFAULT ((0)) NOT NULL,
    [SursaRetinere]  VARCHAR (2)   NULL,
    [BazaAplicare]   VARCHAR (2)   NULL,
    CONSTRAINT [PK_TipRetinere] PRIMARY KEY CLUSTERED ([IDTipRetinere] ASC)
);

